package com.example.springMVC.service.impl;

import com.example.springMVC.dao.RoleMapper;
import com.example.springMVC.pojo.Role;
import com.example.springMVC.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoleServiceImol implements RoleService {
    @Autowired
    RoleMapper roleMapper;
    @Override
    public List<Role> getRoleNameList() {
        return roleMapper.getRoleNameList();
    }
}
